﻿<%@ Page Language="C#" MasterPageFile="~/NhanVien/NhanVien.master" AutoEventWireup="true" CodeFile="HoSo_NV.aspx.cs" Inherits="NhanVien_Default" Title="Thông tin cá nhân" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div style="width:100%">
    <div style="border: solid 1px #CCCCCC;width:250px; float:left">
        <table width="100%">
            <tr>
                <td colspan="3" bgcolor="#6600FF" >
                    <asp:Label ID="LbTenGiangVien1" runat="server" Text="Label" Font-Bold="True" Font-Size="Large" ForeColor="Red"></asp:Label></td>
            </tr>
            <tr align="center">
                <td colspan="3">
                    <img alt="" border="1"  src="../Images/silhouette_default.gif" />
                                    <hr />
                </td>
            </tr>
            <tr>
                <td>Mã số giảng viên</td>
                <td style="width: 66px; height: 21px;" colspan="2">
                    <asp:Label ID="LbMaGiangVien" runat="server" Text="Label"></asp:Label></td>
            </tr>
            <tr>
                <td> Tên giảng viên</td>
                <td style="width: 66px" colspan="2">
                    <asp:Label ID="LbTenGiangVien2" runat="server" Text="Label"></asp:Label></td>
            </tr>
            <tr>
                <td > Giới tính</td>
                <td colspan="2" style="width: 66px; height: 21px">
                    <asp:Label ID="LbGioiTinh" runat="server" Text="Label"></asp:Label></td>
            </tr>
            <tr>
                <td style="height: 21px">
                    Ngày sinh</td>
                <td colspan="2" style="width: 66px; height: 21px">
                    <asp:Label ID="LbNgaySinh" runat="server" Text="Label"></asp:Label></td>
            </tr>
        </table>
    </div> 
    <div >
        <table >
            <tr>
                <td style="width: 100px">
                    Email</td>
                <td style="width: 105px">
                    <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                        ErrorMessage="Email không hợp lệ" ControlToValidate="txtEmail" 
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td style="width: 100px">
                    Số ĐT</td>
                <td style="width: 105px">
                    <asp:TextBox ID="txtSoDT" runat="server"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                        ErrorMessage="Số điện thoại không hợp lệ" ControlToValidate="txtSoDT" 
                        ValidationExpression="[0-9]*">*</asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td style="width: 100px">
                    Địa chỉ</td>
                <td style="width: 105px">
                    <asp:TextBox ID="txtDiaChi" runat="server" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 100px; height: 21px">
                    Ảnh</td>
                <td colspan="3" style="border: solid 1px #CCC;height: 21px" >
                    <asp:FileUpload ID="FileUpload1" runat="server" Width="444px" />
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                    ControlToValidate="FileUpload1" ErrorMessage="File update phải là file hình ảnh" ValidationExpression= "^([0-9a-zA-Z_\-~ :\\])+(.jpg|.JPG|.jpeg|.JPEG|.bmp|.BMP|.gif|.GIF|.png|.PNG)$"> </asp:RegularExpressionValidator> 
                </td>
            </tr>
        </table>
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
        <asp:Button ID="CapNhat" runat="server" Text="Cập nhật" CssClass="button_cua_tao" 
            onclick="CapNhat_Click"  />    
    </div>
	<div style="clear: both;"></div>
	</div>

</asp:Content>

